<br />
<form method="post" name="frm_SelTown" onSubmit="return false;" action="{$apm.baseurl}rstobi/rstobi">
	<h2 class="searchTitle">{$SEO_SELCYO_TITLE}</h2>
	<p class="txt02">{$SEO_SELCYO_TEXT}</p>
	<p class="searchAttTxt01">※10ヵ所まで選択できます。</p>

	{foreach from=$Mapping item=v name="sikuLoop"}
	<!-- selectDetailBlock01 -->
	<div class="selectDetailBlock01" id="area{$smarty.foreach.sikuLoop.iteration}">
		<!-- innerBlock01 -->
		<div  class="innerBlock01">
			<!-- innerBlock02 -->
			<div  class="innerBlock02">
			{assign var="cnt" value=$v.TOWN_DATA|@count}
			{foreach from=$v.TOWN_DATA item=town name="townLoop"}
				{if $smarty.foreach.townLoop.iteration % 3 == 1}
					{if $smarty.foreach.townLoop.iteration+3 > $cnt && not $SEO_SELCYO_MORE}
					<ul class="last">
					{else}
					<ul>
					{/if}
				{/if}
					<li>
						<input name="TownCd[]"
						       type="checkbox"
						       id="selectTown{$town.CHOUMEI_CD}"
						       value="{$town.CHOUMEI_CD}"
						       {if $town.REC_CNT == 0}disabled{/if}
							   {foreach from=$research_data.ReTownCd key="key" item="retowncd" name="loopName"}
							       {if $retowncd == $town.CHOUMEI_CD}
							       checked
							       {/if}
							   {/foreach}
						       />
					{if $town.REC_CNT != 0}{if $town.STATIC_URL == ""}<a href="javascript:SelCyo_Link('{$town.CHOUMEI_CD}');">{else}<a href="{$town.STATIC_URL}">{/if}{/if}
						{$town.CHOUMEI}{*{if $town.REC_CNT > 0}({$town.REC_CNT}件){/if}*}
					{if $town.REC_CNT != 0}</a>{/if}
					</li>
				{if $smarty.foreach.townLoop.iteration % 3 == 0 || $smarty.foreach.townLoop.last}
				</ul>
				{/if}
			{/foreach}
			{if $SEO_SELCYO_MORE }
				<div class="more"><a class="moreUrl999" href="{$SEO_SELCYO_MORE}">もっと見る</a></div>
			{/if}
			</div>
			<!-- /innerBlock02 -->
		</div>
		<!-- /innerBlock01 -->
	</div>
	<!-- /selectDetailBlock01 -->
	{/foreach}

	<!-- searchToResult -->
	<div id="searchToResult">
		<!-- innerBlock01 -->
		<div class="innerBlock01">
			<div class="innerBlock02">
				<div class="innerBlock03">
					<dl>
						<dt>検索結果表示：</dt>
						<dd>
							<ul>
							
							{*
								<li>
									<label>
									<input name="dispCount" type="radio" id="radio" value="20" checked="checked" />
										20件ずつ</label>
								</li>
								<li>
									<label>
									<input type="radio" name="dispCount" id="radio2" value="40" />
										40件ずつ</label>
								</li>
								<li class="last">
									<label>
									<input type="radio" name="dispCount" id="radio3" value="60" />
										60件ずつ</label>
								</li>
							*}
							
								{* 2010/12/28 10件毎表示対応 *}
								<li>
									<label>
									<input name="dispCount" type="radio" id="radio" value="10" checked="checked" />
										10件ずつ</label>
								</li>
								<li>
									<label>
									<input type="radio" name="dispCount" id="radio2" value="20" />
										20件ずつ</label>
								</li>
								<li class="last">
									<label>
									<input type="radio" name="dispCount" id="radio3" value="30" />
										30件ずつ</label>
								</li>
								
							</ul>
						</dd>
					</dl>
					<p class="btn">
						<input name="imageField" type="image" class="rollImg" id="imageField" src="/images/search/common/btn_search.gif" alt="検索" onclick="SelCyo()" />
					</p>
				</div>
			</div>
		</div>
		<!-- /innerBlock01 -->
	</div>
	<!-- /searchToResult -->

<div id="hiddenval">
{$hiddenTag}
</div>
</form>
